<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/3/20
 * Time: 18:13
 */
namespace app\index\model;

use think\Model;

class Param extends Model
{
    protected function getMustAttr($value){
        $must = ['0'=>'否','1'=>'是'];
        return $must[$value];
    }

}